AmeliaBooking\Application\Services\Payment\PaymentApplicationService D

Total Complexity 398
Dependencies 37
Dependents 0
Total lines 2,216
Lines of code 1,492
Logical lines of code 719
Comment lines 286
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
createPaymentLink()
D
6
113 298
updateAppointmentAndCache()
D
6
82 474
processPayment()
D
21
49 191
getPaymentsData()
D
28
42 121
getBookingInformationForPaymentSettings()
B
36 23 75
getAvailablePayments()
B
45 20 42
calculateAppointmentPrice()
B
36 15 84
hasRelatedRefundablePayment()
A
53 8 23
updateCache()
A
47 7 36
getFullStatus()
A
55 8 19
delete()
S
46 5 43
addWcFields()
S
59 6 13
isAllowedOnSitePaymentMethod()
S
59 6 13
setPaymentsTransfers()
S
55 5 20
updateBookingPaymentDate()
S
62 3 12
insertPaymentFromLink()
S
57 2 16
setPaymentTransactionId()
S
66 3 9
__construct()
S
81 1 3